const routes = [
    {path: '/', component: indexPage},
];
const router = new VueRouter({
    routes
})

const APP = new Vue({
    router,
    data: {
        slideIn: 'slide-left-enter',
        slideOut: 'slide-left-leave'
    },
    watch: {},
    methods: {
        //特殊
        init() {
            console.log(222);
        },
    },
    mounted() {
        this.init();
    }
});
